/**
 * @file pid.c
 * @author lyke (1556553295@qq.com)
 * @brief pid
 * @version 0.1
 * @date 2023-02-02
 * 
 * @copyright Copyright (c) 2023
 * 
 */
 
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

int main(int argc, char const *argv[]) {
  pid_t pid, ppid;

  pid = getpid();
  ppid = getppid();
  printf("--pid: %d\n--ppid: %d\n", pid, ppid);

  return 0;
}
